import { request } from '@/api/service'

export const urlPrefix = '/api/tenant/client/'

export function getClientInfo (query) {
  return request({
    url: '/api/tenant/package_features/get_my_client_info/',
    method: 'get',
    params: query
  })
}

export function getAllMenu (query) {
  return request({
    url: '/api/tenant/package_features/all_menu/',
    method: 'get',
    params: query
  })
}

export function getClientAuthMenu (query) {
  return request({
    url: '/api/tenant/package_features/client_auth_menu/',
    method: 'get',
    params: query
  })
}

export function getAllPackageManage (query) {
  return request({
    url: '/api/tenant/package_features/all_package_manage/',
    method: 'get',
    params: query
  })
}
export function wechatPayCodeUrl (data) {
  return request({
    url: '/api/tenant/package_pay/wechat_pay_code_url/',
    method: 'post',
    data
  })
}

export function wechatPayStatusSelect (data) {
  return request({
    url: '/api/tenant/package_pay/wechat_pay_status_select/',
    method: 'post',
    data
  })
}
